import WxParse from '../../../wxParse/wxParse.js';
Component({
  /**
   * 组件的属性列表
   */
  properties: {
    diyPramas:{
      type:Object
    },
    diyStyle:{
      type:Object
    },
    diyData:{
      type:Object
    }
  },

  /**
   * 组件的初始数据
   */
  data: {
    description:''
  },

  /**
   * 组件的方法列表
   */
  methods: {

  },
  lifetimes:{
      ready(){
            //html转wxml
            this.setData({
              description: this.properties.diyPramas.content,
            });
            WxParse.wxParse('description', 'html', this.data.description, this, 0);
      }
  }
})
